home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 15 / CU Amiga Magazine's Super CD-ROM 15 (1997)(EMAP Images)(GB)[!][issue 1997-10].iso / CUCD / Graphics / Gallery / Source / ManagerWindow.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1997-07-15  |  1.8 KB  |  70 lines

  1. #ifndef MANAGERWINDOW_HPP
  2. #define MANAGERWINDOW_HPP
  3.  
  4. // $VER: ManagerWindow.hpp 39.8 (10.06.97)
  5. //
  6. //
  7. // (C) Copyright 1996,97 Markus Hillenbrand
  8. //     All Rights Reserved, No Warranty
  9.  
  10. #include "GUICINCLUDE:GUIC_Window.hpp"
  11. #include "GUICINCLUDE:GUIC_List.hpp"
  12.  
  13. class GUIC_ScreenC;
  14. class GUIC_ApplicationC;
  15. class GUIC_ListviewC;
  16. class GUIC_ButtonC;
  17. class GUIC_PathStringC;
  18. class GUIC_LabelC;
  19. class GUIC_NumberC;
  20. class GUIC_TextC;
  21. class GUIC_CheckboxC;
  22.  
  23. class ThumbnailWindowC;
  24. class PictureWindowC;
  25. class InformationWindowC;
  26.  
  27. class ManagerWindowC    : public GUIC_WindowC
  28.     {
  29.     public:
  30.         ManagerWindowC                     (GUIC_ApplicationC &app, GUIC_ScreenC &screen);
  31.         ~ManagerWindowC                 (VOID);
  32.         BOOL        action                        (GUIC_EventC &event);
  33.         VOID        setWindows            (ThumbnailWindowC &t, PictureWindowC &p);
  34.         VOID        setThumbnailDim    (LONG x, LONG y);
  35.         STRPTR    getClass                    (VOID);
  36.         VOID        showPic                    (VOID);
  37.         VOID        deletePic                (VOID);
  38.         VOID        movePic                    (VOID);
  39.         BOOL        copyPic                    (VOID);
  40.         VOID        disableGadgets        (VOID);
  41.         VOID         enableGadgets        (VOID);
  42.     protected:
  43.         VOID        cleanUp                     (VOID);
  44.     private:
  45.         VOID        scanSource            (STRPTR s);
  46.         VOID         scanDestination        (STRPTR root);
  47.         STRPTR    getDestination        (LONG i);
  48.         STRPTR    getThumbnailName    (VOID);
  49.         STRPTR    getPictureName        (VOID);
  50.         
  51.         GUIC_ApplicationC    *app;
  52.         GUIC_ScreenC            *screen;
  53.         GUIC_LabelC            *sourceLabel, *destinationLabel, *showLabel, *scaleLabel, *centerLabel;
  54.         GUIC_ListviewC        *source, *destination;
  55.         GUIC_PathStringC    *sourcePath, *destinationPath;
  56.         GUIC_TextC                *mal, *pixel, *message;
  57.         GUIC_NumberC        *width, *height;
  58.         GUIC_CheckboxC    *show, *scale, *center;
  59.         GUIC_ButtonC            *deleteFile, *moveFile, *copyFile, *genThumbnail;
  60.         
  61.         LONG                        tWidth, tHeight;
  62.         
  63.         ThumbnailWindowC        *tWindow;
  64.         PictureWindowC            *pWindow;
  65.         InformationWindowC    *iWindow;
  66.     };
  67.  
  68. #endif
  69.  
  70.